<?php

namespace models\Exception\Business;

use Exception;


class AlbumsException extends Exception {
    const ALBUMS_IS_NOT_EXISTS = '图片表不存在';

    const ALBUMS_IS_NOT_EXISTS_NO = '400';

    const ALBUMS_CREATE_FAILURE = '图片表创建失败';

    const ALBUMS_CREATE_FAILURE_NO = '422';

    const ALBUMS_EDIT_FAILURE = '图片表编辑失败';

    const ALBUMS_EDIT_FAILURE_NO = '422';

    const ALBUMS_ID_IS_EMPTY = '图片表编号不能为空';

    const ALBUMS_ID_IS_EMPTY_NO = '400';

    const ALBUM_ARRAY_INVALID = '无效相册数组';
    const ALBUM_ARRAY_INVALID_NO = '400';

    const ALBUM_DELETE_FAILURE = '相册删除失败';
    const ALBUM_DELETE_FAILURE_NO = '422';

}
